home *** CD-ROM | disk | FTP | other *** search
/ HAKERIS 11 / HAKERIS 11.ISO / linux / system / LinuxConsole 0.4 / linuxconsole0.4install-en.iso / linuxconsole0.4.lcm / local / linuxconsole / share / alsa / cards / VIA8233.conf < prev    next >
Encoding:
Text File  |  2004-03-26  |  1.2 KB  |  92 lines

  1. #
  2. # Configuration for the VIA8233/VIA8233C/VIA8235 chip with 4/6 multi-channel support
  3. #
  4.  
  5. <confdir:pcm/front.conf>
  6.  
  7. VIA8233.pcm.front.0 {
  8.     @args [ CARD ]
  9.     @args.CARD {
  10.         type string
  11.     }
  12.     type hw
  13.     card $CARD
  14.     device 0
  15. }    
  16.  
  17. <confdir:pcm/surround40.conf>
  18.  
  19. VIA8233.pcm.surround40.0 {
  20.     @args [ CARD ]
  21.     @args.CARD {
  22.         type string
  23.     }
  24.     type hw
  25.     card $CARD
  26.     device 1
  27. }
  28.  
  29. <confdir:pcm/surround51.conf>
  30.  
  31. VIA8233.pcm.surround51.0 "cards.VIA8233.pcm.surround40.0"
  32.  
  33. <confdir:pcm/iec958.conf>
  34.  
  35. VIA8233.pcm.iec958.0 {
  36.     @args [ CARD AES0 AES1 AES2 AES3 ]
  37.     @args.CARD {
  38.         type string
  39.     }
  40.     @args.DEV {
  41.         type integer
  42.     }
  43.     @args.AES0 {
  44.         type integer
  45.     }
  46.     @args.AES1 {
  47.         type integer
  48.     }
  49.     @args.AES2 {
  50.         type integer
  51.     }
  52.     @args.AES3 {
  53.         type integer
  54.     }
  55.     type hooks
  56.     slave.pcm {
  57.         type hw
  58.         card $CARD
  59.         device 0
  60.         subdevice 3
  61.     }
  62.     hooks.0 {
  63.         type ctl_elems
  64.         hook_args [
  65.             {
  66.                 name "IEC958 Playback AC97-SPSA"
  67.                 lock true
  68.                 preserve true
  69.                 value 3
  70.             }
  71.             {
  72.                 name "IEC958 Playback Default"
  73.                 lock true
  74.                 preserve true
  75.                 value [ $AES0 $AES1 $AES2 $AES3 ]
  76.             }
  77.             {
  78.                 name "IEC958 Playback Switch"
  79.                 lock true
  80.                 preserve true
  81.                 value true
  82.             }
  83.             {
  84.                 name "IEC958 Output Switch"
  85.                 lock true
  86.                 preserve true
  87.                 value true
  88.             }
  89.         ]
  90.     }
  91. }
  92.